package cn.iocoder.yudao.module.ao.controller.admin.academicyear.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 学年及班级信息新增/修改 Request VO")
@Data
public class AcademicYearSaveReqVO {

    @Schema(description = "学年唯一ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27171")
    private Integer yearId;

    @Schema(description = "学年，如2024-2025", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "学年，如2024-2025不能为空")
    private String schoolYear;

    @Schema(description = "学期，如第二学期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "学期，如第二学期不能为空")
    private String term;

    @Schema(description = "班级名称，如25春体检班", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "班级名称，如25春体检班不能为空")
    private String className;

    @Schema(description = "教室名称，如B215", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "教室名称，如B215不能为空")
    private String classroomName;

    @Schema(description = "班主任姓名")
    private String headteacher;

}